package com.maori.languageapp;

import com.maori.languageapp.R;
import com.maori.languageapp.consts.UrlContant;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.EditText;
import android.widget.ListView;
import android.widget.RadioGroup;
import android.widget.TextView;

public class Maori_Capture_Story extends Activity{

	int NCMID;
	String node_category;
	String type;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		/*//Remove title bar
	    this.requestWindowFeature(Window.FEATURE_NO_TITLE);
	    //Remove notification bar
	    this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);*/
		setContentView(R.layout.maori_activity_capture_story);
		
		TextView headIdium = (TextView)findViewById(R.id.txtHeading);
		headIdium.setText("Capture Story");
		
		Bundle extras = getIntent().getExtras();
		if(extras !=null) {
			NCMID = extras.getInt("NCMID");		
			node_category = extras.getString("node_category");	
			type = extras.getString("type");
		}
		
		EditText EtType = (EditText)findViewById(R.id.ettypeofcapture);
        EditText EtCat = (EditText)findViewById(R.id.etselectcategory);
        
        EtType.setText(type);
        EtCat.setText(node_category);
	}
	
}
